home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / ReferenceCoded.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.0 KB  |  69 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.  
  15.     <!-- 
  16.         <![CDATA[
  17.         A ReferenceCoded identifies another document.  It extends
  18.         Reference by supplying a code for the meaning of the Reference.
  19.         
  20.         When the meaning of the reference is known at document
  21.         definition time, an element of type="Reference" is typically
  22.         used.  For example:
  23.         
  24.             <element type="Reference" name="ContractID"/>
  25.         
  26.         is clearly a Reference to a Contract.
  27.         
  28.         When the meaning of the reference is not known at document
  29.         definition time, a ReferenceTyped may be used instead of
  30.         a Reference to further qualify it.  For example:
  31.         
  32.             <element type="ReferenceCoded" name="OtherRef" occurs="?"/>
  33.         
  34.         may be used to refer to a document of any type.        
  35.         ]]>
  36.      -->
  37.  
  38.     <datatype name="ReferenceCode">
  39.         <enumeration datatype="NMTOKEN">
  40.             <option>Other</option>
  41.             <option>CustRefNum</option>
  42.             <option>ContractNum</option>
  43.             <option>PrevProdCat</option>
  44.             <option>PriceListNum</option>
  45.             <option>ProdInqNum</option>
  46.         </enumeration>
  47.     </datatype>
  48.     
  49.     <elementtype name="ReferenceCoded">
  50.         <extends type="Reference">
  51.             <append>
  52.                 <!--  The type of the item being referred to. / --> 
  53.                 <element type="ReferenceCode" name="RefCode" />
  54.                 
  55.                 <!--  If RefCode is Other, the type of the item
  56.                 being referred to. / -->
  57.                 <element type="string" name="RefCodeOther" occurs="?" />
  58.             </append>
  59.         </extends>
  60.     </elementtype>
  61.     
  62.     <elementtype name="ListOfReferenceCoded">
  63.         <model>
  64.             <element type="ReferenceCoded" occurs="+" />
  65.         </model>
  66.     </elementtype>
  67.  
  68. </schema>
  69.